package org.foundation.jala.softzip;

public class SoftZip {
    public static final String SOFTZIP_LIBRARY = "jnisoftzip";

    public native int compress(String sourcePath, String targetPath, int compressionMethod);

    public native int decompress(String sourcePath, String targetPath);

    public native boolean checkIntegrity(String sourcePath);

    static {
        System.loadLibrary(SOFTZIP_LIBRARY);
    }
}
